import service from "../utils/http";
/*
 * 	项目新增
 */
// 获取table数据
export const getTableDataApi = (data:object) => {
    return service({
        url: '/money/get',
        method: 'get',
        data: data
    })
}
// 项目新增时,查询所有服务器
export const addTableDataApi = (data:object) => {

    return service({
        url: `/money/add`,
        method: 'get',
        params:data
    })
}
export const editTableDataApi = (data:object) => {

    return service({
        url: `/money/edit`,
        method: 'get',
        params:data
    })
}
// 删除单个
export const delTableDataApi = (id: object) => {
    return service({
        url: `/money/remove`,
        method: 'get',
        params:id
    })
}
// 删除多个
export const delAllTableDataApi = (id: object) => {
    return service({
        url: `/money/batchremove`,
        method: 'get',
        params:id
    })
}

// 删除多个
export const getGushiDataApi = (data: object) => {
    return service({
        url: `https://sec.gushi.com/getSecInfo`,
        method: 'get',
        params:data
    })
}



